<?php
/* @var $this RegisterController */
/* @var $model Register */
/* @var $form CActiveForm */
?>

<div class="row-fluid">
  <div class="span12">

			<?php $form=$this->beginWidget('CActiveForm', array(
				'id'=>'register-form',
				// Please note: When you enable ajax validation, make sure the corresponding
				// controller action is handling ajax validation correctly.
				// There is a call to performAjaxValidation() commented in generated controller code.
				// See class documentation of CActiveForm for details on this.
				'enableAjaxValidation'=>false,
			)); ?>

				<p class="note">Fields with <span class="required">*</span> are required.</p>

				<?php echo $form->errorSummary($model); ?>
				
				<!--- register -->
		<div class="span8">
				<div class="row">
					<?php echo $form->labelEx($model,'idprofile'); ?>
					<?php echo $form->textField($model,'idprofile',array('size'=>50,'maxlength'=>50)); ?>
					<?php echo $form->error($model,'idprofile'); ?>
				</div>

				<div class="row">
					<?php echo $form->labelEx($model,'no_urut'); ?>
					<?php echo $form->textField($model,'no_urut'); ?>
					<?php echo $form->error($model,'no_urut'); ?>
				</div>

				<div class="row">
					<?php echo $form->labelEx($model,'no_ang'); ?>
					<?php echo $form->textField($model,'no_ang',array('size'=>25,'maxlength'=>25)); ?>
					<?php echo $form->error($model,'no_ang'); ?>
				</div>

				<div class="row">
					<?php echo $form->labelEx($model,'nama'); ?>
					<?php echo $form->textField($model,'nama',array('size'=>60,'maxlength'=>255)); ?>
					<?php echo $form->error($model,'nama'); ?>
				</div>

				<div class="row">
					<?php echo $form->labelEx($model,'gelar'); ?>
					<?php $this->widget('ext.select2.ESelect2',array(
						   'model'=>$model,
						   'attribute' => 'gelar[]',
						   'data'=>CHtml::listData(User::model()->findAll(), 'id', 'email'),
						   'options'  => array(
							   'placeholder'=>'Select authors',
						   ),
						   'htmlOptions'=>array(
							   'multiple'=>'multiple',
						   ),
						)); 
					?>
<?php echo $form->textField($model,'gelar',array('size'=>4,'maxlength'=>4)); ?>
					<?php echo $form->error($model,'gelar'); ?>
				</div>

				<div class="row">
					<?php echo $form->labelEx($model,'ktp'); ?>
					<?php echo $form->textField($model,'ktp',array('size'=>45,'maxlength'=>45)); ?>
					<?php echo $form->error($model,'ktp'); ?>
				</div>

				<div class="row">
					<?php echo $form->labelEx($model,'tempat'); ?>
					<?php echo $form->textField($model,'tempat',array('size'=>45,'maxlength'=>45)); ?>
					<?php echo $form->error($model,'tempat'); ?>
				</div>

				<div class="row">
					<?php echo $form->labelEx($model,'lahir'); ?>
					<?php echo $form->textField($model,'lahir'); ?>
					<?php echo $form->error($model,'lahir'); ?>
				</div>

				<div class="row">
					<?php echo $form->labelEx($model,'alamat'); ?>
					<?php echo $form->textField($model,'alamat',array('size'=>60,'maxlength'=>255)); ?>
					<?php echo $form->error($model,'alamat'); ?>
				</div>

				<div class="row">
					<?php echo $form->labelEx($model,'rt'); ?>
					<?php echo $form->textField($model,'rt',array('size'=>5,'maxlength'=>5)); ?>
					<?php echo $form->error($model,'rt'); ?>
				</div>

				<div class="row">
					<?php echo $form->labelEx($model,'rw'); ?>
					<?php echo $form->textField($model,'rw',array('size'=>5,'maxlength'=>5)); ?>
					<?php echo $form->error($model,'rw'); ?>
				</div>

				<div class="row">
					<?php echo $form->labelEx($model,'kelurahan'); ?>
					<?php echo $form->textField($model,'kelurahan',array('size'=>45,'maxlength'=>45)); ?>
					<?php echo $form->error($model,'kelurahan'); ?>
				</div>

				<div class="row">
					<?php echo $form->labelEx($model,'telp'); ?>
					<?php echo $form->textField($model,'telp',array('size'=>45,'maxlength'=>45)); ?>
					<?php echo $form->error($model,'telp'); ?>
				</div>

				<div class="row">
					<?php echo $form->labelEx($model,'hp'); ?>
					<?php echo $form->textField($model,'hp',array('size'=>20,'maxlength'=>20)); ?>
					<?php echo $form->error($model,'hp'); ?>
				</div>

				<div class="row">
					<?php echo $form->labelEx($model,'foto'); ?>
					<?php echo $form->textArea($model,'foto',array('rows'=>6, 'cols'=>50)); ?>
					<?php echo $form->error($model,'foto'); ?>
				</div>

				<div class="row">
					<?php echo $form->labelEx($model,'pendidikan'); ?>
					<?php echo $form->textField($model,'pendidikan',array('size'=>45,'maxlength'=>45)); ?>
					<?php echo $form->error($model,'pendidikan'); ?>
				</div>

				<div class="row">
					<?php echo $form->labelEx($model,'asal'); ?>
					<?php echo $form->textField($model,'asal',array('size'=>45,'maxlength'=>45)); ?>
					<?php echo $form->error($model,'asal'); ?>
				</div>

				<div class="row">
					<?php echo $form->labelEx($model,'kelamin'); ?>
					<?php echo $form->textField($model,'kelamin',array('size'=>1,'maxlength'=>1)); ?>
					<?php echo $form->error($model,'kelamin'); ?>
				</div>

				<div class="row">
					<?php echo $form->labelEx($model,'darah'); ?>
					<?php echo $form->textField($model,'darah',array('size'=>2,'maxlength'=>2)); ?>
					<?php echo $form->error($model,'darah'); ?>
				</div>

				<div class="row">
					<?php echo $form->labelEx($model,'agama'); ?>
					<?php echo $form->textField($model,'agama'); ?>
					<?php echo $form->error($model,'agama'); ?>
				</div>

				<div class="row">
					<?php echo $form->labelEx($model,'perkawinan'); ?>
					<?php echo $form->textField($model,'perkawinan',array('size'=>1,'maxlength'=>1)); ?>
					<?php echo $form->error($model,'perkawinan'); ?>
				</div>

				<div class="row">
					<?php echo $form->labelEx($model,'pekerjaan'); ?>
					<?php echo $form->textField($model,'pekerjaan'); ?>
					<?php echo $form->error($model,'pekerjaan'); ?>
				</div>

				<div class="row">
					<?php echo $form->labelEx($model,'bidangkerja'); ?>
					<?php echo $form->textField($model,'bidangkerja',array('size'=>60,'maxlength'=>255)); ?>
					<?php echo $form->error($model,'bidangkerja'); ?>
				</div>

				<div class="row">
					<?php echo $form->labelEx($model,'porganisasi'); ?>
					<?php echo $form->textField($model,'porganisasi',array('size'=>20,'maxlength'=>20)); ?>
					<?php echo $form->error($model,'porganisasi'); ?>
				</div>

				<div class="row">
					<?php echo $form->labelEx($model,'namaorganisasi'); ?>
					<?php echo $form->textField($model,'namaorganisasi',array('size'=>45,'maxlength'=>45)); ?>
					<?php echo $form->error($model,'namaorganisasi'); ?>
				</div>

				<div class="row">
					<?php echo $form->labelEx($model,'jabatanorganisasi'); ?>
					<?php echo $form->textField($model,'jabatanorganisasi',array('size'=>45,'maxlength'=>45)); ?>
					<?php echo $form->error($model,'jabatanorganisasi'); ?>
				</div>

				<div class="row">
					<?php echo $form->labelEx($model,'jenisanggota'); ?>
					<?php echo $form->textField($model,'jenisanggota',array('size'=>3,'maxlength'=>3)); ?>
					<?php echo $form->error($model,'jenisanggota'); ?>
				</div>

				<div class="row">
					<?php echo $form->labelEx($model,'toefl'); ?>
					<?php echo $form->textField($model,'toefl',array('size'=>3,'maxlength'=>3)); ?>
					<?php echo $form->error($model,'toefl'); ?>
				</div>

				<div class="row">
					<?php echo $form->labelEx($model,'sks'); ?>
					<?php echo $form->textField($model,'sks',array('size'=>3,'maxlength'=>3)); ?>
					<?php echo $form->error($model,'sks'); ?>
				</div>

				<div class="row">
					<?php echo $form->labelEx($model,'prestasi'); ?>
					<?php echo $form->textField($model,'prestasi',array('size'=>45,'maxlength'=>45)); ?>
					<?php echo $form->error($model,'prestasi'); ?>
				</div>

				<div class="row">
					<?php echo $form->labelEx($model,'beasiswa'); ?>
					<?php echo $form->textField($model,'beasiswa',array('size'=>45,'maxlength'=>45)); ?>
					<?php echo $form->error($model,'beasiswa'); ?>
				</div>

				<div class="row">
					<?php echo $form->labelEx($model,'besarbea'); ?>
					<?php echo $form->textField($model,'besarbea',array('size'=>15,'maxlength'=>15)); ?>
					<?php echo $form->error($model,'besarbea'); ?>
				</div>

				<div class="row">
					<?php echo $form->labelEx($model,'mulaibea'); ?>
					<?php echo $form->textField($model,'mulaibea'); ?>
					<?php echo $form->error($model,'mulaibea'); ?>
				</div>

				<div class="row">
					<?php echo $form->labelEx($model,'akhirbea'); ?>
					<?php echo $form->textField($model,'akhirbea'); ?>
					<?php echo $form->error($model,'akhirbea'); ?>
				</div>

				<div class="row">
					<?php echo $form->labelEx($model,'jdlskripsi'); ?>
					<?php echo $form->textArea($model,'jdlskripsi',array('rows'=>6, 'cols'=>50)); ?>
					<?php echo $form->error($model,'jdlskripsi'); ?>
				</div>

				<div class="row">
					<?php echo $form->labelEx($model,'pembimbing1'); ?>
					<?php echo $form->textField($model,'pembimbing1',array('size'=>60,'maxlength'=>100)); ?>
					<?php echo $form->error($model,'pembimbing1'); ?>
				</div>

				<div class="row">
					<?php echo $form->labelEx($model,'pembimbing2'); ?>
					<?php echo $form->textField($model,'pembimbing2',array('size'=>60,'maxlength'=>100)); ?>
					<?php echo $form->error($model,'pembimbing2'); ?>
				</div>

				<div class="row">
					<?php echo $form->labelEx($model,'statuspemb1'); ?>
					<?php echo $form->textField($model,'statuspemb1',array('size'=>1,'maxlength'=>1)); ?>
					<?php echo $form->error($model,'statuspemb1'); ?>
				</div>

				<div class="row">
					<?php echo $form->labelEx($model,'statuspemb2'); ?>
					<?php echo $form->textField($model,'statuspemb2',array('size'=>1,'maxlength'=>1)); ?>
					<?php echo $form->error($model,'statuspemb2'); ?>
				</div>

				<div class="row">
					<?php echo $form->labelEx($model,'tglsetuju'); ?>
					<?php echo $form->textField($model,'tglsetuju'); ?>
					<?php echo $form->error($model,'tglsetuju'); ?>
				</div>

				<div class="row">
					<?php echo $form->labelEx($model,'tglujian'); ?>
					<?php echo $form->textField($model,'tglujian'); ?>
					<?php echo $form->error($model,'tglujian'); ?>
				</div>

				<div class="row">
					<?php echo $form->labelEx($model,'kel'); ?>
					<?php echo $form->textField($model,'kel',array('size'=>45,'maxlength'=>45)); ?>
					<?php echo $form->error($model,'kel'); ?>
				</div>

				<div class="row">
					<?php echo $form->labelEx($model,'kota'); ?>
					<?php echo $form->textField($model,'kota',array('size'=>45,'maxlength'=>45)); ?>
					<?php echo $form->error($model,'kota'); ?>
				</div>

				<div class="row">
					<?php echo $form->labelEx($model,'ipk'); ?>
					<?php echo $form->textField($model,'ipk',array('size'=>5,'maxlength'=>5)); ?>
					<?php echo $form->error($model,'ipk'); ?>
				</div>

				<div class="row">
					<?php echo $form->labelEx($model,'mulaingajar'); ?>
					<?php echo $form->textField($model,'mulaingajar'); ?>
					<?php echo $form->error($model,'mulaingajar'); ?>
				</div>

				<div class="row">
					<?php echo $form->labelEx($model,'insmengajar'); ?>
					<?php echo $form->textField($model,'insmengajar'); ?>
					<?php echo $form->error($model,'insmengajar'); ?>
				</div>

				<div class="row">
					<?php echo $form->labelEx($model,'mulaiclas'); ?>
					<?php echo $form->textField($model,'mulaiclas'); ?>
					<?php echo $form->error($model,'mulaiclas'); ?>
				</div>

				<div class="row">
					<?php echo $form->labelEx($model,'gajiclas'); ?>
					<?php echo $form->textField($model,'gajiclas'); ?>
					<?php echo $form->error($model,'gajiclas'); ?>
				</div>

				<div class="row">
					<?php echo $form->labelEx($model,'tmplesclassical'); ?>
					<?php echo $form->textField($model,'tmplesclassical',array('size'=>45,'maxlength'=>45)); ?>
					<?php echo $form->error($model,'tmplesclassical'); ?>
				</div>

				<div class="row">
					<?php echo $form->labelEx($model,'mulaiprivate'); ?>
					<?php echo $form->textField($model,'mulaiprivate'); ?>
					<?php echo $form->error($model,'mulaiprivate'); ?>
				</div>

				<div class="row">
					<?php echo $form->labelEx($model,'gajiprivate'); ?>
					<?php echo $form->textField($model,'gajiprivate'); ?>
					<?php echo $form->error($model,'gajiprivate'); ?>
				</div>

				<div class="row">
					<?php echo $form->labelEx($model,'templesprivate'); ?>
					<?php echo $form->textField($model,'templesprivate',array('size'=>45,'maxlength'=>45)); ?>
					<?php echo $form->error($model,'templesprivate'); ?>
				</div>

				<div class="row">
					<?php echo $form->labelEx($model,'kerjalain'); ?>
					<?php echo $form->textField($model,'kerjalain',array('size'=>45,'maxlength'=>45)); ?>
					<?php echo $form->error($model,'kerjalain'); ?>
				</div>

				<div class="row">
					<?php echo $form->labelEx($model,'mulaikerjalain'); ?>
					<?php echo $form->textField($model,'mulaikerjalain'); ?>
					<?php echo $form->error($model,'mulaikerjalain'); ?>
				</div>

				<div class="row">
					<?php echo $form->labelEx($model,'gajikerjalain'); ?>
					<?php echo $form->textField($model,'gajikerjalain'); ?>
					<?php echo $form->error($model,'gajikerjalain'); ?>
				</div>

				<div class="row">
					<?php echo $form->labelEx($model,'tmpkerjalain'); ?>
					<?php echo $form->textField($model,'tmpkerjalain',array('size'=>45,'maxlength'=>45)); ?>
					<?php echo $form->error($model,'tmpkerjalain'); ?>
				</div>

				<div class="row">
					<?php echo $form->labelEx($model,'pekerjaanlain'); ?>
					<?php echo $form->textField($model,'pekerjaanlain',array('size'=>45,'maxlength'=>45)); ?>
					<?php echo $form->error($model,'pekerjaanlain'); ?>
				</div>

				<div class="row">
					<?php echo $form->labelEx($model,'alamatkerjalain'); ?>
					<?php echo $form->textField($model,'alamatkerjalain',array('size'=>45,'maxlength'=>45)); ?>
					<?php echo $form->error($model,'alamatkerjalain'); ?>
				</div>
	</div>
	<div class="span4">
				<!-- ini untuk register1 --->
				
					<?php echo $form->labelEx($model1,'id'); ?>
					<?php echo $form->textField($model1,'id',array('class'=>'span5','size'=>50,'maxlength'=>50)); ?>
					<?php echo $form->error($model1,'id'); ?>
				
				

					<?php echo $form->labelEx($model1,'username'); ?>
					<?php echo $form->textField($model1,'username',array('size'=>60,'maxlength'=>255)); ?>
					<?php echo $form->error($model1,'username'); ?>
				

				
					<?php echo $form->labelEx($model1,'auth_key'); ?>
					<?php echo $form->textField($model1,'auth_key',array('size'=>45,'maxlength'=>45)); ?>
					<?php echo $form->error($model1,'auth_key'); ?>
				

					<?php echo $form->labelEx($model1,'password'); ?>
					<?php echo $form->passwordField($model1,'password',array('size'=>60,'maxlength'=>255)); ?>
					<?php echo $form->error($model1,'password'); ?>
			

				
					<?php echo $form->labelEx($model1,'password_reset_token'); ?>
					<?php echo $form->textField($model1,'password_reset_token',array('size'=>60,'maxlength'=>255)); ?>
					<?php echo $form->error($model1,'password_reset_token'); ?>
				

				
					<?php echo $form->labelEx($model1,'email'); ?>
					<?php echo $form->textField($model1,'email',array('size'=>60,'maxlength'=>255)); ?>
					<?php echo $form->error($model1,'email'); ?>
			

				
					<?php echo $form->labelEx($model1,'level'); ?>
					<?php echo $form->textField($model1,'level',array('size'=>1,'maxlength'=>1)); ?>
					<?php echo $form->error($model1,'level'); ?>
				

				
					<?php echo $form->labelEx($model1,'status'); ?>
					<?php echo $form->textField($model1,'status',array('size'=>1,'maxlength'=>1)); ?>
					<?php echo $form->error($model1,'status'); ?>
				

				
					<?php echo $form->labelEx($model1,'created_at'); ?>
					<?php echo $form->textField($model1,'created_at'); ?>
					<?php echo $form->error($model1,'created_at'); ?>
			

				
					<?php echo $form->labelEx($model1,'updated_at'); ?>
					<?php echo $form->textField($model1,'updated_at'); ?>
					<?php echo $form->error($model1,'updated_at'); ?>
				
	</div>
				
					<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save',array('class'=>'btn btn-large btn-primary')); ?>
				

			<?php $this->endWidget(); ?>
	</div>
</div><!-- form -->